package com.lifa.dao;

import com.lifa.entity.Jicun;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 5.商品寄存
 */
public interface JicunDao {
    public List<Jicun> query();

    /**
     * 模糊查询根据id，name
     * @return
     */
    public List<Jicun> queryByName(Map<String, Object> map);
    public List<Jicun> queryPage(@Param("name") String name, @Param("offset") int offset, @Param("limit") int limit) ;
    public int getTotalCount(@Param("name") String name);
}
